package com.moinut.studentattendancemanager.model.factory;

import com.moinut.studentattendancemanager.model.dao.*;
import com.moinut.studentattendancemanager.model.dao.proxy.*;

/**
 * @author MOILING
 */
public class DAOFactory {
    public static IStudentDAO getIStudentDAOInstance() {
        return new StudentDAOProxy();
    }

    public static ITeacherInfoDAO getITeacherInfoDAOInstance() {
        return new TeacherInfoDAOProxy();
    }

    public static ICourseInfoDAO getICourseInfoDAOInstance() {
        return new CourseInfoDAOProxy();
    }

    public static IAttendanceInfoDAO getIAttendanceInfoDAOInstance() {
        return new AttendanceInfoDAOProxy();
    }

    public static ITeacherDAO getITeacherDAOInstance() {
        return new TeacherDAOProxy();
    }

    public static ICollegeDAO getICollegeDAOInstance() {
        return new CollegeDAOProxy();
    }

    public static IFacultyDAO getIFacultyDAOInstance() {
        return new FacultyDAOProxy();
    }
}
